package com.quectel.grid.vo.grid;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 在这里编写说明
 *
 * @author: bob
 * @email: bob.yu@quectel.com
 * @date: 2023-02-20 15:08:00
 */
@Data
@Schema
public class GridPlanTaskDetailResp {

    // 任务详情信息
    @Schema(description = "事件名称")
    private String name;

    @Schema(description = "任务开始时间")
    private Date execStartTime;

    @Schema(description = "任务结束时间")
    private Date execEndTime;

    @Schema(description = "所属巡查计划")
    private String revertPlanName;

    @Schema(description = "计划时间")
    private String date;

    @Schema(description = "巡查日期")
    private Date completeTime;

    @Schema(description = "巡查网格")
    private String gridName;

    @Schema(description = "任务生成时间")
    private Date createTime;

    @Schema(description = "结果描述")
    private String detail;

    @Schema(description = "巡检图片")
    private String snapshotImgs;

    // 巡查对象信息
    @Schema(description = "巡检对象名称")
    private String patrolObj;

    @Schema(description = "巡检对象地址")
    private String patrolObjAddress;

    @Schema(description = "巡检内容")
    private String patrolObjremark;

    // 巡查情况
    @Schema(description = "事件编号")
    private String eventNo;

    @Schema(description = "事件名称")
    private String eventName;

    @Schema(description = "巡查结果 0异常 1正常")
    private Byte status;

    @Schema(description = "执行状态 0不可执行 1可执行")
    private Byte executableState;

    @Schema(description = "事件描述")
    private String eventDesc;

    @Schema(description = "事件发生时间")
    private Date eventTime;

    @Schema(description = "事件地点")
    private String eventAddr;

    @Schema(description = "事件一级类别")
    private String eventPrimaryName;

    @Schema(description = "事件二级类别")
    private String eventSecondaryName;

    @Schema(description = "事件等级 0一般1紧急")
    private Byte eventLevel;

    @Schema(description = "结果描述")
    private String eventDetail;

    @Schema(description = "巡查图片")
    private String eventPicturesJson;

    @Schema(description = "是否上报事件 0未上报 1上报")
    private Byte isReport;

    // ==========  自行上报部分 ===========
    @Schema(description = "自行处理图片")
    private String selfHandlePicturesJson;

    @Schema(description = "自行处置结果")
    private String selfHandleResult;

}








